<template>
  <div class="userpage">
    <el-tabs v-model="activeName">
      <el-tab-pane label="视频审核" name="1">
        <VideoCheckView />
      </el-tab-pane>
      <el-tab-pane label="创作者审核" name="2">
        <CreatorCheckView />
      </el-tab-pane>
    </el-tabs>
  </div>
</template>
<script>
import VideoCheckView from "./VideoCheckView.vue";
import CreatorCheckView from "./CreatorCheckView.vue";
import { getCreatAuditList, setProcess } from "@/utils/api";

export default {
  components: {
    VideoCheckView,
    CreatorCheckView,
  },
  data() {
    return {
      activeName: "1",
    };
  },
  mounted() {
    this.activeName = "2";
    setTimeout(() => (this.activeName = "1"), 200);
  },
};
</script>

<style scoped lang="scss">
.userpage {
  padding: 20px 20px 10px 20px;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
</style>
